<template>
  <div id="app">
    <!-- 主要是ant的组件的全局中文化 -->
    <a-config-provider :locale="locale">
      <router-view />
    </a-config-provider>
  </div>
</template>

<script>
import {Initializer_deviceMode} from './Initializer'
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN';
export default {
    //注册监控设备是什么
    created:Initializer_deviceMode,
    data(){
      return{
        locale: zhCN,
      }
    }
}
</script>

<style>
#app{
  background: #f0f2f5 url(../public/base.png) no-repeat 100%;
  background-size: cover;
  height: 100%;
}
::-webkit-scrollbar {
  width: 10px;
  height: 1px;
  background-color: rgba(234, 232, 231);
  border: none;
  margin-left: -5px;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  box-shadow: none;
  border-radius: 20px;
  border: none;
  background-color: rgb(245, 245, 245);
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  border: none;
  box-shadow: inset 0 0 0px rgba(44,44,44, 0.5);
  background-color: rgba(189, 189, 189, 0.5);
}
/* a{
   text-decoration: none;
   font: 7px/1.5 Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;
    color:#b0b0b0;
} */
</style>
